Adds a new custom object to the collection. If the item already exists in the collection, its index is returned.

Namespace:  C1.C1Schedule
Assembly:  C1.Web.UI.Controls.2 (in C1.Web.UI.Controls.2.dll)

Syntax

C#
public int Add(
	T item
)
Visual Basic
Public Function Add ( _
	item As T _
) As Integer

Parameters

item
Type: T

Return Value

Returns the index of newly added custom object.

See Also